﻿using Common.BaseLibrary.Domain;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DepartmentWork.Migrator.Data
{
    /// <summary>
    /// 加班表
    /// </summary>
    public class PROJECT_DESK_WORKTIME : IEntity
    {
        /// <summary>
        /// PK
        /// </summary>
        [DisplayName("加班编号"), Required, Key]
        public Guid WORKTIME_ID { get; set; }

        /// <summary>
        /// 加班人ID
        /// </summary>
        [DisplayName("请假人ID"), Required]
        public Guid WORKTIME_NAMEID { get; set; }

        /// <summary>
        /// 加班申请时间
        /// </summary>
        [DisplayName("加班申请时间"), Required]
        public DateTime WORKTIME_TIME { get; set; }

        /// <summary>
        /// 加班时长（本次加班的总时间）
        /// </summary>
        [DisplayName("加班时长"), Required]
        public string WORKTIME_DURATION { get; set; }

        /// <summary>
        /// 加班事由
        /// </summary>
        [DisplayName("加班事由"), Required]
        public string WORKTIME_CAUSE { get; set; }

        /// <summary>
        /// 第几次加班（本月）
        /// </summary>
        [DisplayName("加班次数")]
        public int WORKTIME_QUANTITY { get; set; }

        /// <summary>
        /// 加班累计时长
        /// </summary>
        [DisplayName("加班累计时长")]
        public string WORKTIME_HOWDURATION { get; set; }










        /// <summary>
        /// 加班状态
        /// 0是未审批
        /// 1是审批
        /// </summary>
        [DisplayName("加班状态")]
        public int WORKTIME_STATUS { get; set; }

        /// <summary>
        /// 加班日期（年月日）
        /// </summary>
        [DisplayName("加班日期"), Required]
        public DateTime WORKTIME_DAY { get; set; }


        /// <summary>
        /// 几班时间（几点到几点）
        /// </summary>
        [DisplayName("加班时间"), Required]
        public string WORKTIME_TIME_TIME { get; set; }


        /// <summary>
        /// 审阅人ID
        /// </summary>
        [DisplayName("审阅人ID"), Required]
        public Guid WORKTIME_OVERNAME { get; set; }


    }
}
